/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package entity;

/**
 *
 * @author 51436342
 */
public class Transaction {
    private String id;
    private Session session=null;
    private Customer customer=null;
    private String seatNo;
    private int payment;
    private boolean request;

    public Transaction(String id, String sessionId, String customerId, String seatNo, int payment, boolean request) {
        session=new Session (sessionId);
        if(customerId.charAt(0)=='C') //the customer has been registered before
            customer=new Customer(customerId);
        this.seatNo=seatNo;
        this.payment=payment;
        this.request=request;
    }
    



}
